﻿function closure_creator()
   local num = 0
   return function()
      num = num + 1
      print(num)
   end
end
closure_creator()()
closure_creator()()
local closure = closure_creator()
closure()
closure()
